power: regulator: s5m8767: get_enable should return integer
authorKeerthy <[email protected]>
Tue, 13 Jun 2017 04:23:54 +0000 (09:53 +0530)
committerJaehoon Chung <[email protected]>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit4e98a140c8a7d8accd0101be17227f29aa1ec41f
treed57eb460e9c40debebb9d5cff73ba7823df38df0
parent3bbe7c136b3177acd02a185cf2492ba640a63977
power: regulator: s5m8767: get_enable should return integer

get_enable should be able to return error values. Hence change
the return type to integer.

Signed-off-by: Keerthy <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/power/regulator/s5m8767.c